package com.woniuxy.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * over_order
 * @author
 */
@Data
@ApiModel(value = "OverOrder",description = "超时订单")
public class OverOrder implements Serializable {
    @ApiModelProperty(value = "[自动增长]超时订单表id")
    private Integer id;

    /**
     * 预订单ID
     */
    @ApiModelProperty(value = "预订单ID")
    private Integer orderId;

    /**
     * 用户名称
     */
    @ApiModelProperty(value = "用户名称")
    private String name;

    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号")
    private String num;

    /**
     * 车位地址
     */
    @ApiModelProperty(value = "车位地址")
    private String location;

    /**
     * 订单生成时间
     */
    @ApiModelProperty(value = "订单生成时间")
    private Date createTime;

    /**
     * 超时开始时间
     */
    @ApiModelProperty(value = "超时开始时间")
    private Date startTime;

    /**
     * 超时结束时间
     */
    @ApiModelProperty(value = "超时结束时间")
    private Date leaveTime;

    /**
     * 超时单价
     */
    @ApiModelProperty(value = "超时单价")
    private BigDecimal overPrice;

    /**
     * 总价
     */
    @ApiModelProperty(value = "总价")
    private BigDecimal totalPrice;

    /**
     * 支付方式
     */
    @ApiModelProperty(value = "支付方式")
    private String method;

    /**
     * 未支付，已支付，支付失败
     */
    @ApiModelProperty(value = "支付状态")
    private String status;

    /**
     * merchantuser id
     */
    @ApiModelProperty(value = "merchantuser id")
    private Integer uid;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(Date leaveTime) {
        this.leaveTime = leaveTime;
    }

    public BigDecimal getOverPrice() {
        return overPrice;
    }

    public void setOverPrice(BigDecimal overPrice) {
        this.overPrice = overPrice;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }
}